<?php /* Smarty version Smarty-3.1.21-dev, created on 2015-05-06 14:42:44
         compiled from "C:\wamp\www\project.adm.uppii\admin\aplications\views\paginas\listar_pagina.tpl" */ ?>
<?php /*%%SmartyHeaderCode:5401552e5fcda65d37-16241485%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '1b4fdcdca63547ee17eac6f1ea20d892793c8a23' => 
    array (
      0 => 'C:\\wamp\\www\\project.adm.uppii\\admin\\aplications\\views\\paginas\\listar_pagina.tpl',
      1 => 1430934163,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '5401552e5fcda65d37-16241485',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.21-dev',
  'unifunc' => 'content_552e5fcdacf4d1_76320365',
  'variables' => 
  array (
    'listar' => 0,
    'pagina' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_552e5fcdacf4d1_76320365')) {function content_552e5fcdacf4d1_76320365($_smarty_tpl) {?><div class='row'>
    <div class='col-md-12'>
        <section class='widget'>
            <header class='widget-header clearfix'>
                <div class='btn-group pull-right'>
                    <a href='<?php echo @constant('URLDOMINIOADMIN');?>
paginas/newpage' class='btn btn-default'>
                        <i class='fa fa-file-o'></i>
                        <span>Adicionar nova pagina</span>
                    </a>
                    <a href='#' class='btn btn-default'>
                        <i class='fa fa-sitemap'></i>
                        <span>Gerar sitemap</span>
                    </a>
                </div>
            </header>
        </section>
    </div>
    <div class='col-md-12'> 
        <section class="widget">
            <div class='widget-content'>
                <ul class='list-group'>
                    <?php  $_smarty_tpl->tpl_vars['pagina'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['pagina']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['listar']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['pagina']->key => $_smarty_tpl->tpl_vars['pagina']->value) {
$_smarty_tpl->tpl_vars['pagina']->_loop = true;
?>
                        <li class='list-group-item clearfix'>
                            <?php echo $_smarty_tpl->tpl_vars['pagina']->value['nome'];?>
 - 
                            <a href='<?php echo @constant('URLDOMINIOADMIN');?>
paginas/edit/<?php echo $_smarty_tpl->tpl_vars['pagina']->value['id'];?>
' ><i class='ion ion-edit'></i> <span>Editar</span></a> - 
                            <a data-id='<?php echo $_smarty_tpl->tpl_vars['pagina']->value['id'];?>
' href='javascript:;' class='del_page text-danger'><i class='ion ion-trash-b'></i> <span>Excluir</span></a>
                            <div class='pull-right'>
                                <div class='btn-group model_page' data-toggle='buttons'>
                                    <label data-id='<?php echo $_smarty_tpl->tpl_vars['pagina']->value['id'];?>
' class='btn btn-sm btn-default <?php if ($_smarty_tpl->tpl_vars['pagina']->value['modelo']==='nor') {?>active<?php }?>' title="Modo Normal">
                                        <input data-id='<?php echo $_smarty_tpl->tpl_vars['pagina']->value['id'];?>
' type="radio" name='mode_page#<?php echo $_smarty_tpl->tpl_vars['pagina']->value['id'];?>
' <?php if ($_smarty_tpl->tpl_vars['pagina']->value['modelo']==='nor') {?>checked="checked"<?php }?> value='nor' />
                                        <i class='el el-website'></i> Normal
                                    </label>
                                    <label data-id='<?php echo $_smarty_tpl->tpl_vars['pagina']->value['id'];?>
' class='btn btn-sm btn-default <?php if ($_smarty_tpl->tpl_vars['pagina']->value['modelo']==='rev') {?>active<?php }?>' title="Modo Revista">
                                        <input type="radio" name='mode_page#<?php echo $_smarty_tpl->tpl_vars['pagina']->value['id'];?>
' <?php if ($_smarty_tpl->tpl_vars['pagina']->value['modelo']==='rev') {?>checked="checked"<?php }?> value='rev' />
                                        <i class='el el-th-list'></i> Revista
                                    </label>
                                    <label data-id='<?php echo $_smarty_tpl->tpl_vars['pagina']->value['id'];?>
' class='btn btn-sm btn-default <?php if ($_smarty_tpl->tpl_vars['pagina']->value['modelo']==='tab') {?>active<?php }?>' title="Modo Tabela">
                                        <input type="radio" name='mode_page#<?php echo $_smarty_tpl->tpl_vars['pagina']->value['id'];?>
' <?php if ($_smarty_tpl->tpl_vars['pagina']->value['modelo']==='tab') {?>checked="checked"<?php }?> value='tab' />
                                        <i class='el el-th'></i> Tabela
                                    </label>
                                </div>
                            </div>
                        </li>
                    <?php }
if (!$_smarty_tpl->tpl_vars['pagina']->_loop) {
?>
                    <?php } ?>
                </ul>
            </div>
        </section>
    </div>
</div><?php }} ?>
